/*版心居中*/
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

body {
    background-color: #f3f5f7;
}

/*头部通栏*/
.header {
    height: 100px;
    background-color: #fff;
}

.header .wrapper {
    display: flex;
    padding-top: 29px;
}

/*logo*/
.logo a {
    background-image: url(../images/logo.png);
    width: 195px;
    height: 41px;
    display: block;
    font-size: 0;
}

/*导航*/
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 24px;
}

.nav li .active,
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

.nav a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
    font-size: 19px;
}

/*搜索框*/
.search {
    display: flex;
    margin-left: 64px; /*96-8-24*/
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    border-radius: 20px;
    padding-right: 12px;
    padding-left: 19px;
}

.search input {
    flex: 1;  /*除了后面的搜索图标，其余部分独占*/
    border: 0; /*不显示边框*/
    background-color: transparent; /*自己背景色透明，用父级盒子的背景色*/
    outline: none;  /*获取焦点，不显示外面的边框*/
}

.search input::placeholder {
    font-size: 14px;
    color: #999;
}

.search a {
    width: 16px;
    height: 16px;
    align-self: center;  /*自己垂直居中*/
    background-image: url(../images/search.png);
}

.user {
    margin-left: 32px;
    margin-top: 4px;
}

.user a {
    display: block;
    height: 30px;
    background: url(../uploads/user.png) no-repeat left center;
    padding-left: 37px;
}

.user span {
    line-height: 30px;
    font-size: 16px;
    color: #666;
}

/*banner通栏*/
.banner {
    height: 420px;
    background-color: #0092cb;
}
.banner .wrapper {
    display: flex;
    justify-content: space-between;
    height: 420px;
    background-image: url(../uploads/banner.png);
}

.banner .left {
    width: 191px;
    padding: 3px 20px;
    background-color: rgba(0,0,0,0.42);
}

.banner .left a {
    display: block;
    height: 46px;
    background: url(../images/right.png) no-repeat right center;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
}

.banner .left a:hover {
    background: url(../images/right-hover.png) no-repeat right center;
    color: #00a4ff;
}

.banner .right {
    width: 218px;
    height: 305px;
    margin-top: 60px;
    background-color: #209dd5;
    border-radius: 10px;
}

.banner .right h3 {
    margin-left: 14px;
    margin-top: 18px;
    margin-bottom: 9px;
    line-height: 21px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
}

.banner .right .content {
    background-color: #fff;
    padding: 14px;
    height: 257px;
    border-radius: 10px;
}

.banner .right dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .right dt {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 8px;
}

.banner .right dd {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}

.banner .right span {
    color: #00a4ff;
}

.banner .right strong {
    font-weight: 400;
    color: #7d7d7d;
}

.banner .right a {
    display: block;
    height: 32px;
    background-color: #00a4ff;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    line-height: 32px;
}

/*精品推荐导航栏*/
.recommend {
    display: flex;
    height: 60px;
    margin-top: 11px;
    padding: 0 20px;
    line-height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px
    rgba(211, 211, 211, 0.5);
}

.recommend h3 {
    font-size: 18px;
    font-weight: 400;
    color: #00a4ff;
}

.recommend ul {
    flex: 1;
    display: flex;
}

.recommend ul li a {
    padding-left: 24px;
    padding-right: 24px;
    border-right: 1px solid #e0e0e0;
    font-size: 18px;
    color: #333;
}

.recommend ul li:last-child a {
    border-right: 0;
}

.recommend a.modify {
    font-size: 16px;
    color: #00a4ff;
}

/*精品推荐课程*/
.course {
    margin-top: 16px;
}

.hd {
    display: flex;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;
}

.hd h3 {
     font-size: 21px;
     color: #333;
     font-weight: 400;
 }

.hd a.more {
    background: url(../images/more.png) no-repeat right center;
    font-size: 14px;
    color: #999;
    padding-right: 20px;
}

.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bd ul li {
    margin-bottom: 14px;
    width: 228px;
}

.bd li .pic {
    height: 156px;
}

.bd li .text {
    background-color: #fff;
    height: 115px;
    padding: 20px 20px 22px;
}

.bd li .text h4 {
    height: 40px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 13px;
}

.bd li .text p {
    line-height: 20px;
    font-size: 14px;
    color: #999;
}

.bd li .text span {
    color: #fa6400;
}

.bd li .text i {
    font-style: normal;
}

/*前端工程师区域*/
.hd ul {
    display: flex;
}

.hd li {
    margin-right: 60px;
    font-size: 16px;
}

.hd li .active {
    color: #00a4ff;
}

.bd {
    display: flex;
}

.bd .left {
    margin-right: 15px;
}

.bd .right .top {
    height: 100px;
    margin-bottom: 15px;
}

/* 版权 */
.footer {
    margin-top: 60px;
    padding-top: 60px;
    height: 273px;
    background-color: #fff;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
}

.footer .left p {
    margin-top: 24px;
    width: 432px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer .left .download {
    display: block;
    width: 120px;
    height: 36px;
    border: solid 1px #00a4ff;
    margin-top: 14px;
    font-size: 16px;
    text-align: center;
    line-height: 34px;
    color: #00a4ff;
}

.footer .right {
    display: flex;
}

.footer .right dl {
    margin-left: 130px;
}

.footer .right dt {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
    color: #333;
}

.footer .right a {
    font-size: 14px;
    line-height: 24px;
    color: #666;
}

